import { connect } from "react-redux";

const Logo = (props: any) => {
	const { isCollapse } = props;
	return <div className="logo-box">{!isCollapse ? <h2 className="logo-text">yueg</h2> : null}</div>;
};

const mapStateToProps = (state: any) => state.menu;
export default connect(mapStateToProps)(Logo);
